package com.ruoyi.common.core.domain.entity;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 订单汇总对象 OrderFrom
 *
 * @author KrityCat
 */
public class OrderFrom extends HeadOrderForm {

    private List<DetailOrderForm> detail;

    public List<DetailOrderForm> getDetail() {
        return detail;
    }

    public void setDetail(List<DetailOrderForm> detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("detail", getDetail())
                .toString();
    }
}
